<!-- <form id="pagerForm" method="post" action="w_list.html">
	<input type="hidden" name="pageNum" value="1" />
	<input type="hidden" name="numPerPage" value="${model.numPerPage}" />
	<input type="hidden" name="orderField" value="${param.orderField}" />
	<input type="hidden" name="orderDirection" value="${param.orderDirection}" />
</form> -->

<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="auth/role" target="dialog"><span>添加</span></a></li>
			<li><a class="delete" href="auth/del/{sid_user}" target="ajaxTodo" title="确定要删除吗？" warn="请选择一个角色"><span>删除</span></a></li>
			<li><a class="edit" href="auth/role/{sid_user}" target="dialog" warn="请选择一个角色"><span>修改</span></a></li>
			<li class="line">line</li>
			<!-- <li><a class="icon" href="demo/common/dwz-team.xls" target="dwzExport" targetType="navTab" title="实要导出这些记录吗?"><span>导出EXCEL</span></a></li> -->
		</ul>
	</div>

	<div id="w_list_print">
	<table class="list" width="98%" targetType="navTab" asc="asc" desc="desc" layoutH="116">
		<thead>
			<tr>
				<th width="80" orderField="name" class="asc">编号</th>
				<th width="80" orderField="name" class="asc">角色名称</th>
				<th width="100" orderField="num" class="desc">开启状态</th>
				<th width="100" orderField="num" class="desc">操作</th>
			</tr>
		</thead>
		<tbody>
			<?php foreach ($roles as $k => $v): ?>
			<tr target="sid_user" rel="<?php echo $v['rid'] ?>">
				<td><?php echo $v['rid'] ?></td>
				<td><?php echo $v['rname'] ?></td>
				<td><?php echo $v['state'] ?></td>
				<td>【<a href="<?php echo site_url('auth/set_access/'.$v['rid']); ?>" target="navTab">配置权限</a>】</td>
			</tr>
			<?php endforeach ?>
		</tbody>
	</table>
	</div>
	
	<div class="panelBar" >
		<div class="pages">
			<span>显示</span>
			<select name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
				<option value="20">20</option>
				<option value="50">50</option>
				<option value="100">100</option>
				<option value="200">200</option>
			</select>
			<span>条，共23条</span>
		</div>
		
		<div class="pagination" targetType="navTab" totalCount="200" numPerPage="20" pageNumShown="10" currentPage="2"></div>

	</div>

</div>
